package com.automannn.seataSamples.api.service;

import com.automannn.seataSamples.api.dto.OrderDTO;
import com.automannn.seataSamples.api.response.ObjectResponse;

/**
 * @author automannn
 * @Date 2022/3/24
 * @Description 订单服务
 */
public interface OrderService {

    /**
     * 创建订单
     * @param orderDTO 订单详情
     * @return 订单的主键
     */
    ObjectResponse<OrderDTO> createOrder(OrderDTO orderDTO);
}
